﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IHISCETeim.DAL;
using IHISCETeim.Model;
using IHISCETeim.Library;
using System.Data;

namespace IHISCETeim.BLL
{
    public  class SLogController
    {

        public static void Add(SLogInfo obj)
        {
            try
            {
                SLogDAL.Add(obj);
            }
            catch
            { 
                
            }
        }


        
        public static SLogInfo GetList(int id)
        {
            return CBO.FillObject<SLogInfo>(SLogDAL.GetList(id));
        }

        public static DataTable GetPagination(string SqlWhere, int PageIndex, int PageSize, string Sort, ref int TotalCount)
        {
            return SLogDAL.GetPagination(SqlWhere, PageIndex, PageSize, Sort, ref  TotalCount);
        }

        public static int SPageExecTime_Add(string URL,string PathAndQuery, DateTime StartDate, DateTime EndDate, string RealName)
        {
            return  SLogDAL.SPageExecTime_Add(URL,PathAndQuery, StartDate, EndDate, RealName);
        }

        public static bool 清空三井原始逾期表()
        {
            return SLogDAL.清空三井原始逾期表();
        }
        public static string 导入三井原始逾期表(DataTable dt)
        {
            return SLogDAL.导入三井原始逾期表(dt);
        }
     }
}
